package com.rams.jhms.gui.datamodels;

import javax.swing.event.TreeModelListener;
import javax.swing.tree.TreeModel;
import javax.swing.tree.TreePath;

import com.rams.jhms.dao.DerbySystemFoldersDAO;

public class SystemFolderDataModel implements TreeModel {

	protected String root;
	protected DerbySystemFoldersDAO dao = new DerbySystemFoldersDAO();
	
	public SystemFolderDataModel() {
		root = "My Media Library";
	}
	
	public Object getRoot() {
		return root;
	}

	public Object getChild(Object parent, int index) {
		if (parent == root) {
			
		}
		return null;
	}

	public int getChildCount(Object parent) {
		return 0;
	}

	public boolean isLeaf(Object node) {
		return false;
	}

	public void valueForPathChanged(TreePath path, Object newValue) {
		
	}

	public int getIndexOfChild(Object parent, Object child) {
		return 0;
	}

	public void addTreeModelListener(TreeModelListener l) {
		
	}

	public void removeTreeModelListener(TreeModelListener l) {
		
	}
}
